
led.bin: led.s
	mkdir -p target
	arm-linux-gnueabihf-gcc -g -c led.s -o ./target/led.o
	arm-linux-gnueabihf-ld -Ttext 0x87800000 ./target/led.o -o ./target/led.elf
	arm-linux-gnueabihf-objcopy -O binary -S -g ./target/led.elf ./target/led.bin
	arm-linux-gnueabihf-objdump -D ./target/led.elf > ./target/led.dis
clean:
	rm -rf target

